PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class / readByte Method
In This Topic
    readByte Method
    In This Topic
    Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
    Syntax
    public int readByte()

    Return Value

    The unsigned byte cast to an Int32, or -1 if at the end of the stream.
    Exceptions
    ExceptionDescription
    if the stream is closed.
    See Also